package com.cashmama.market.api.domain.vo.user;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2020-01-14 17:40
 **/
public class AlgoTokenInfo implements Serializable {

    @JSONField(name = "access_token")
    private String accessToken;
    @JSONField(name = "expires_in")
    private String expiresIn;
    @JSONField(name = "token_type")
    private String tokenType;
    @JSONField(name = "scope")
    private String scope;
    @JSONField(name = "refresh_token")
    private String refreshToken;

    public String getAccessToken() {
        return accessToken;
    }

    public AlgoTokenInfo setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }

    public String getExpiresIn() {
        return expiresIn;
    }

    public AlgoTokenInfo setExpiresIn(String expiresIn) {
        this.expiresIn = expiresIn;
        return this;
    }

    public String getTokenType() {
        return tokenType;
    }

    public AlgoTokenInfo setTokenType(String tokenType) {
        this.tokenType = tokenType;
        return this;
    }

    public String getScope() {
        return scope;
    }

    public AlgoTokenInfo setScope(String scope) {
        this.scope = scope;
        return this;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public AlgoTokenInfo setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
        return this;
    }
}
